.am-button-group {
  display: -webkit-box;
  display: -webkit-flex;
  padding: 6px 10px;
  background: transparent;
  /*border-bottom: 1px solid #d2d2d2*/
}

.am-button-group a,
.am-button-group button {
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  width: 100%;
  height: 30px;
  padding: 0;
  font-size: 14px;
  line-height: 31px;
  text-align: center;
  border: 1px solid #d2d2d2;
  border-width: 1px 1px 1px 0;
  color: #999;
  white-space: nowrap;
  background: #fdfdfd
}

.am-button-group a.am-button-group-current,
.am-button-group a.hover,
.am-button-group a:active,
.am-button-group button.am-button-group-current,
.am-button-group button.hover,
.am-button-group button:active {
  border-color: #0ae;
  color: #FFF;
  background: #0ae
}

.am-button-group a:first-child,
.am-button-group button:first-child {
  border-width: 1px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-background-clip: padding-box
}

.am-button-group a:last-child,
.am-button-group button:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -webkit-background-clip: padding-box
}

.am-button-group a.am-button-group-current:disabled,
.am-button-group a:disabled,
.am-button-group button.am-button-group-current:disabled,
.am-button-group button:disabled {
  border-color: #CDCDCD;
  background: #e5e5e5;
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .6);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  color: #aaa
}